package com.coder.oj.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.coder.oj.common.entity.Commit;
import com.coder.oj.common.bo.LangeCountBo;

import java.util.List;

/**
 * @author Bosen 2022/11/23 17:10
 **/
public interface CommitMapper extends BaseMapper<Commit> {

    List<LangeCountBo> getUserAcCommit(Long userId);

    List<LangeCountBo> getUserTotalCommit(Long userId);
}
